﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectRoughWork
{
    class EventChangeScreen : BaseEventData
    {
        /// <summary>
        /// 1-Parameter Default Constructor with the new screen
        /// </summary>
        /// <param name="initScreen">The new screen</param>

        public EventChangeScreen(IScreen initScreen)
        {
            eventType = "ChangeScreen";
            newScreen = initScreen;
        }

        public IScreen NewScreen
        {
            get { return newScreen; }
        }

        IScreen newScreen;
    }
}
